<?php
namespace haibao\cms\model\data;

class SphinxTime extends Base{
	const STATUS_ENABLE = 1;
	const STATUS_DISABLE = 0;

	const TYPE_ARTICLE = 1;
	const TYPE_FEATURE = 2;
	const TYPE_IMAGE = 3;
	const TYPE_VIDEO = 4;
	const TYPE_BRAND = 5;
	const TYPE_STAR = 6;
	const TYPE_AMERICAN_DRAMA = 7;
	const TYPE_DESIGNER = 8;
	const TYPE_IMAGE_LIBRARY = 9;
	
	public $Time;
	public $Status;
	public $Type;
	
	public function __construct() {
		parent::__construct ();	
		$this->dateField('Time','Time',true);
		$this->intField('Status','Status',true);
		$this->intField('Type','Type',true);
		
		$this->setTableName ( 'SphinxTime' );
	}
}